const svc = require('../util/service'),
log = require('../util/log');

module.exports = (req, res) =>
svc.handlePost(req, res, (reqObj, resolve) => {
	if (!reqObj.photoData) {
		resolve({
			result : -1,
			msg : '缺少photoData'
		})
		return
	}
	global.photoData = reqObj.photoData;
	resolve({
		result : 1
	})
})
